ALICE3-TRK: added possibility to use a local version of the response file during digitization#14971
Conversation
|
REQUEST FOR PRODUCTION RELEASES: This will add The following labels are available |
shahor02
left a comment
There was a problem hiding this comment.
Just one minor comment.
| if (!file) { | ||
| LOG(fatal) << "Cannot open response file " << mLocalRespFile; | ||
| } | ||
| mDigitizer.getParams().setAlpSimResponse((const o2::itsmft::AlpideSimResponse*)file->Get("response1")); |
There was a problem hiding this comment.
Not critical, but better to do file->Close(); delete file;, or open it as std::unique_ptr<TFile>(TFile::Open(mLocalRespFile.data()));
There was a problem hiding this comment.
Thanks a lot for the correction, I had overlooked this point. Now it's fixed
|
Ciao @shahor02 this CI error seems to be spurious, could you merge it? |
Added the possibility to use a version of the response file locally stored when performing digitization.
To be used during digitization studies.
Usage:
o2-sim-digitizer-workflow --local-response-file "path_to_file/ResponseData.root"
If the --local-response-file argument is not set, the response is retrieved from CCDB (as set with PR #14902)